package com.ruoyi.appVersion.domain;

import cn.hutool.core.text.StrSplitter;
import cn.hutool.http.HtmlUtil;

import java.util.List;

public class AppVersionVo {
    /**
     * 版本号
     */

    private String apkurl;


    private String scripturl;


    private List<String> content;


    private Integer update;

    public String getApkurl() {
        return apkurl;
    }

    public void setApkurl(String apkurl) {
        this.apkurl = apkurl;
    }

    public String getScripturl() {
        return scripturl;
    }

    public void setScripturl(String scripturl) {
        this.scripturl = scripturl;
    }

    public List<String> getContent() {
        return content;
    }

    public void setContent(String content) {
        String clearTag = HtmlUtil.cleanHtmlTag(content);
        this.content = StrSplitter.split(clearTag, ';', 0, true, true);
        ;
    }

    public Integer getUpdate() {
        return update;
    }

    public void setUpdate(Integer update) {
        this.update = update;
    }
}
